import React, { Component } from 'react'
import { Row, Col} from 'antd'
import Header from './components/Header'
import Footer from './components/Footer'
import NavLeft from './components/Navleft'

export default class Admin extends Component {
    render() {
        return (
      <div className="container">
            <Row>
                <Col span={24} className="header">
                    <Header/>
                </Col>
            </Row>
            <Row className="anything">
                <Col span={4} className="nav-left">
                    <NavLeft/>
                </Col>
                <Col span={20} className="main">
                <Footer /> 
                    <Row className="content">
                        {this.props.children}
                    </Row >
                      
                    </Col>
            </Row>
      </div>
        )   
    }
}
